package com.ll.demo1.bytecode;

/**
 * @description:
 * @author: LiuLei
 * @create: 2024-09-27
 **/
public class ClassField {

    private String name;
    static String mark;

    public static void main(String[] args) {
        mark = "a";
        print(mark);
        ClassField w = new ClassField();
        w.name = "1";
        w.setName("2");
        print(w.name);
        print(w.getName());
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public static void print(String arg) {
        System.out.println(arg);
    }

}
